import 'package:yeyu_net/yeyu_net.dart';
import 'package:flutter_bilibili/http/request/profile_request.dart';
import 'package:flutter_bilibili/model/profile_model.dart';

class ProfileDao {
  static get() async {
    ProfileRequest request = ProfileRequest();
    var result = await YeyuNet.getInstance().fire(request);
    return ProfileModel.fromJson(result['data']);
  }
}
